]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Add a way to use the OSK on shell chrome in wayland sessions
authorRui Matos <tiagomatos@gmail.com>
Thu, 2 Apr 2015 22:18:07 +0000 (00:18 +0200)
committerRui Matos <tiagomatos@gmail.com>
Tue, 14 Apr 2015 17:34:13 +0000 (19:34 +0200)
commit5afd04781cbde9acf48bb9fa31b17d92050370f5
treed212363171fd380f4e76192251c481aeee993cc9
parenta0868bac6bd09be733f918907f5f8cb66a571a31
keyboard: Add a way to use the OSK on shell chrome in wayland sessions

libcaribou was designed to generate X events which works under wayland
sessions for X clients but obviously doesn't work for wayland clients
and for shell chrome.

This patch adds a simple caribou display adapter which inherits from
its X display adapter and allows us to continue to work for X clients
and at the same time makes the OSK work on shell text entries by
sending key events directly to the focused text actor.

Making the OSK work for wayland clients requires much bigger changes
at various levels in the stack and either not using libcaribou or
re-working it substantially so that's left for future work.

https://bugzilla.gnome.org/show_bug.cgi?id=747274
js/ui/keyboard.js
src/shell-util.c
src/shell-util.h